package javabean;

public class Test {
    public static void main(String[] args)
    {
        Student s1 = new Student();
         s1.setName("波妞");
         s1.setChinese(100.0);
         s1.setMath(80.0);
         System.out.println(s1.getName());
         System.out.println(s1.getMath());
         System.out.println(s1.getChinese());
         Student s2  = new Student("波仔",100.0,60.0);

         //实体类在开发中的应用·场景
        StudentOperator Operator= new StudentOperator(s2);
        Operator.printAllScore();
        Operator.printAverageScore();
    }
}
